package com.example.gybicycle.entity;

import com.example.gybicycle.common.entity.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import java.util.List;

import lombok.Data;


@Data
@Schema(name ="车辆")
public class Bike    extends Entity {
    @Schema(description = "车辆id")
    private String id;
    @Schema(description = "车辆名称")
    private String name;
    @Schema(description = "车辆类型")
    private Integer bikeType;
    @Schema(description = "类型名称")
    private String typeName;
    @Schema(description = "插销编号")
    private String latchNo;
    @Schema(description = "锁ID（车辆停车位置）")
    private String lockId;
    @Schema(description = "锁ID（车辆停车位置）名称")
    private  String lockName;
    @Schema(description = "0 空闲 1 使用中 2 故障")
    private Integer bikeState;
    @Schema(description = "二维码")
    private String qrcode;
    @Schema(description = "修改人")
    private String editBy;
    @Schema(description = "修改人名称")
    private  String editName;
    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date editTime;
    @Schema(description ="备注")
    private String  remark;
    @Schema(description ="排序")
    private Integer  sort;
    @Schema(description ="ids")
    private List<String> ids;
}